function newpaths()
%
% set new paths based on the current drive setting and likely directory structure.
%
global CONTROL
month=strvcat('jan', 'feb', 'mar', 'apr', 'may', 'jun', 'jul', 'aug', 'sep', 'oct', 'nov', 'dec');
[drive, path, extension] = getdriveext;
for sf = 1:length(CONTROL)
   [p, file, e] = fileparts(CONTROL(sf).filename);
   if(length(file) == 8)
      da=file(1:2);
      mon=file(3:5);
      yr=file(6:7);
   else
      da=file(1);
      mon=file(2:4);
      yr=file(5:6);
   end;
   monum=strmatch(lower(mon), month, 'exact');
   propdir = sprintf('%02s%02d%02s', yr, monum, da);
   CONTROL(sf).path = [drive '\' propdir];
end;

